<div class="bg-light lter b-b wrapper-md">
        <h1 class="m-n font-thin h3">汇付对账</h1>
    </div>
    
    <div class="wrapper-md">
        <div class="panel panel-default">
            <div class="panel-heading">
                平台多单记录查询
            </div>
            <toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
            <div class="panel-body b-b b-light">
                <div class="form-group pull-in clearfix">
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>姓名:</font>
                            </font>
                        </label>
                        <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.FullName">
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>电话:</font>
                            </font>
                        </label>
                        <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.Mobile">
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>订单编号:</font>
                            </font>
                        </label>
                        <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.OrderId">
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>汇付订单号:</font>
                            </font>
                        </label>
                        <input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.HOrdId">
                    </div>
                </div>
                <div class="form-group pull-in clearfix" ng-controller="DatepickerDemoCtrl">
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>开始时间:</font>
                            </font>
                        </label>
                        <p class="input-group">
                            <span class="input-group-btn">
                                <button type="button" class="btn btn-default" ng-click="open($event)">
                                    <i class="glyphicon glyphicon-calendar"></i>
                                </button>
                            </span>
                            <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="ptreconciliation.StartTime"
                                is-open="opened" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close"
                            />
                        </p>
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>结束时间:</font>
                            </font>
                        </label>
                        <p class="input-group">
                            <span class="input-group-btn">
                                <button type="button" class="btn btn-default" ng-click="open1($event)">
                                    <i class="glyphicon glyphicon-calendar"></i>
                                </button>
                            </span>
                            <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="ptreconciliation.EndTime"
                                is-open="opened1" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close"
                            />
                        </p>
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>操作类型:</font>
                            </font>
                        </label>
                        <select class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.UserTransferType">
                            <option value="0">全部</option>
                            <option value="3">提现</option>
                            <option value="19">快速提现</option>
                            <option value="20">活期提现</option>
                            <option value="2">充值</option>
                            <option value="18">网银充值</option>
                            <option value="6">借款人收款</option>
                            <option value="12">活期借款人收款</option>
                            <!-- <option value="">奖金</option> -->
                            <option value="8">转账</option>
                            <option value="9">红包</option>
                            <option value="14">活期发放收益</option>
                        </select>
                    </div>
                    <div class="col-sm-2">
                        <label>
                            <font>
                                <font>处理结果:</font>
                            </font>
                        </label>
                        <select class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.IsSuccess">
                            <option value="-1">全部</option>
                            <option value="0">待处理</option>
                            <option value="1">平账</option>
                        </select>
                    </div>
                    <div class="col-sm-2">
                        <label>
                          <font>
                            <font>对账类型:</font>
                          </font>
                        </label>
                        <select class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" ng-model="ptreconciliation.Type">
                          <option value="">请选择</option>
                          <option value="1">充值</option>
                          <option value="2">提现</option>
                          <option value="3">放款</option>
                          <option value="5">商户扣款</option>
                        </select>
                    </div>
                    <div class="col-sm-2">
                        <button class="btn btn-info btn-addon" style="margin-top:25px" ng-if='!graybtn' ng-click="search()">查询</button>
                        <button class="btn btn-light btn-addon" style="margin-top:25px" ng-if='graybtn'>查询</button>
                    </div>
                </div>
            </div>
            <div class="table-responsive">
                <table id="tab" class="table table-striped m-b-none">
                    <thead>
                        <tr>
                            <th style="min-width: 25px">订单编号</th>
                            <th style="min-width: 50px">用户手机号</th>
                            <th style="min-width: 50px">用户姓名</th>
                            <th style="min-width: 80px">平台订单号</th>
                            <th style="min-width: 50px">汇付订单号</th>
                            <th style="min-width: 50px">code描述</th>
                            <th style="min-width: 100px">操作类型</th>
                            <th style="min-width: 100px">金额</th>
                            <th style="min-width: 100px">创建时间</th>
                            <th style="min-width: 100px">状态</th>
                            <th style="min-width: 100px">确认时间</th>
                            <th style="min-width: 100px">处理结果</th>
                            <th style="min-width: 100px">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-if="reconciliationList==''">
                            <td colspan="9">当前无任何数据</td>
                        </tr>
                        <tr ng-repeat="obj in reconciliationList">
                            <td ng-bind="obj.OrderId"></td>
                            <td ng-bind="obj.Mobile"></td>
                            <td ng-bind="obj.FullName"></td>
                            <td ng-bind="obj.UsrCustId"></td>
                            <td ng-bind="obj.HOrdId"></td>
                            <td ng-bind="obj.ExtendValue"></td>
                            <td ng-bind="obj.UserTransferType"></td>
                            <td ng-bind="obj.Price"></td>
                            <td ng-bind="obj.UserTranferCreateTime|date: 'yyyy-MM-dd HH:mm:ss'"></td>
                            <td ng-bind="obj.UserTransferStatus"></td>
                            <td ng-bind="obj.ConfirmTime|date: 'yyyy-MM-dd HH:mm:ss'"></td>
                            <td ng-bind="obj.IsSuccess?'平账':'待处理'"></td>
                            <td><button class="btn m-b-xs btn-sm btn-info" ng-click="modify(obj.ResultId,obj.IsSuccess)">修改处理结果</button></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="btn-group pull-right">
            <button type="button" class="btn btn-default" ng-click="prev()">
                <font>
                    <font>上一页</font>
                </font>
            </button>
            <button type="button" class="btn btn-default btnNum">{{ptreconciliation.Index?ptreconciliation.Index:'1'}}</button>
            <button type="button" class="btn btn-default" ng-click="next()">
                <font>
                    <font>下一页</font>
                </font>
            </button>
            <span class="btn btn-default">共
                <span ng-bind="(reconciliationListListCount?reconciliationListListCount:'0')+'条数据'"></span>
            </span>
        </div>